package com.vaasplus.bms.dao.mapper;

import com.vaasplus.bms.dao.entity.SyncCameraDbEsErrorRecordBean;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @className: SyncCameraDbEsErrorRecordsBeanMapper
 * @Description:
 * @Author: wangyifei
 * @Date: 2025/7/18 17:38
 */
public interface SyncCameraDbEsErrorRecordBeanMapper {
    void batchInsert(List<SyncCameraDbEsErrorRecordBean> syncCameraDbEsErrorRecords);
    List<SyncCameraDbEsErrorRecordBean> selectByTimeRange(@Param("startTime") LocalDateTime startTime, @Param("endTime")LocalDateTime endTime);
    void batchDeleteByID(@Param("cameraIDs")List<Integer> cameraIDs);
}
